package com.taoym.voucher.admin.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/8/30 15:02
 * @desc
 */
@Data
public class XcxAddActivityDTO implements Serializable {
    @ApiParam(value = "活动编号")
    @NotNull(message = "活动编号不能为空")
    private Integer actId;
    @ApiParam(value = "标题")
    private String title;
    @ApiParam(value = "活动图标")
    private String icon;
    @ApiParam(value = "活动平台")
    @NotNull(message = "活动平台")
    private Integer platform;
    @ApiParam(value = "主活动标识")
    @NotNull(message = "主活动标识不能为空")
    private Integer mainAct;
    @ApiParam(value = "活动名称")
    @NotBlank(message = "活动名称不能为空")
    private String actName;
}
